package com.wenhai.spring.aop.features.service;

import java.util.Random;

public class DefaultEchoServiceImpl implements EchoService {
    @Override
    public String echo(String message) {
        if (new Random().nextBoolean()) {
            throw new RuntimeException("For Purpose from XML configuration");
        }
        return message;
    }
}
